﻿<Window x:Class="RL.wRouteTypeDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Тип маршрута" Height="137" Width="306">
    <Grid DataContext="{Binding}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Label Content="Тип" Height="28" HorizontalAlignment="Left" Margin="0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Страх. сбор" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="0" Name="label2" VerticalAlignment="Top" />
        <TextBox Grid.Column="1" Name="textBoxTypeRoute" Text="{Binding Path=name}"/>
        <CheckBox Grid.Row="1" Grid.Column="1" Name="checkBoxInsurance" IsChecked="{Binding Path=insurance}"/>
        <Button Content="OK" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="0" Name="buttonOK" VerticalAlignment="Top" Width="75" IsDefault="True" Click="buttonOK_Click" />
        <Button Content="Отмена" Grid.Column="1" Grid.Row="2" Height="23" HorizontalAlignment="Left" Margin="0" Name="buttonCancel" VerticalAlignment="Top" Width="75" IsCancel="True" Click="buttonCancel_Click" />
    </Grid>
</Window>
